package com.example.back.mapper;

import com.example.back.model.Food;
import com.example.back.model.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author jialily
* @description 针对表【t_message】的数据库操作Mapper
* @createDate 2022-05-09 17:40:17
* @Entity com.example.back.model.Message
*/
@Mapper
public interface MessageMapper  {

    public int insertMessage(String username,String message);

    public List<Message> selectAll();

    public List<Message> selectUsername(String username);

}
